package com.example.service;
import com.example.microinvestcommon.entity.UserOrder;
import com.example.microinvestcommon.pojo.Result;



public interface OrderService {

    //挂单购买
    Result<String> pushBuyOrderService(UserOrder userOrder,double nowPrice);

    //挂单卖出
    Result<String> pushSellOrderService(UserOrder userOrder,double nowPrice);

    //撤单操作
    Result<String> cancelOrder(Long orderId,Long userId);

}
